<%--@elvariable id="checkPlan" type="com.weitu.securitycheck.entity.CheckPlan"--%>
<%--@elvariable id="loginUserId" type="java.lang.String"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>检查计划查看</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/securityCheck/checkPlan/edit.js"></script>
</head>
<body>
<form id="form1" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">检查级别:</label>
                    <input id="checkLevelId" name="checkLevelId" value="${checkPlan.checkLevelId}"
                           data-options="readonly:true" type="text" style="width:240px;">
                    <input name="id" value="${param.id}" type="hidden">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查类型:</label>
                    <input id="checkTypeId" name="checkTypeId" value="${checkPlan.checkTypeId}"
                           data-options="readonly:true" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">检查部门:</label>
                    <input id="checkDeptIds" name="checkDeptIds" value="${checkPlan.checkDeptIds}"
                           data-options="readonly:true" type="text"
                           style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查开始日期:</label>
                    <input id="planStartDate" name="planStartDate" value="${checkPlan.planStartDate}"
                           class="easyui-datebox"
                           data-options="readonly:true,validType:'startDateCompare[\'#planEndDate\']'"
                           type="text"
                           style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查结束日期:</label>
                    <input id="planEndDate" name="planEndDate" value="${checkPlan.planEndDate}" class="easyui-datebox"
                           data-options="readonly:true,validType:'endDateCompare[\'#planStartDate\']'"
                           type="text"
                           style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">检查计划名称:</label>
                    <input id="name" name="name" value="${checkPlan.name}" type="text" class="easyui-textbox"
                           data-options="readonly:true"
                           style="width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">接收部门:</label>
                    <input id="receiveDeptIds" name="receiveDeptIds" value="${checkPlan.receiveDeptIds}"
                           data-options="readonly:true" type="text" style="width: 959px;"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>相关附件</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_two" style="width: 1100px;">
                    <%--@elvariable id="accessoryList" type="java.util.List"--%>
                    <accessory:accessorySimple packageKey="check_plan" packageInfos="${accessoryList}"
                                               uploadUserId="${loginUserId}"
                                               accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
